<?php
/**
 * User: aka
 * Date: 2018/6/26
 * Time: 21:59
 */

namespace app\api\validate;


use think\Validate;

class ChangePassword extends Validate
{
    protected $rule = [
        'password_old|原密码'=>'require|min:6|max:16',
        'password|新密码'=>'require|min:6|max:16',
        'password_confirm|确认密码'=>'require|min:6|max:16|confirm:password',
    ];
}